package cn.wmx.sqlsession;

import java.util.List;

public interface SqlSession {

    <E> List<E> selectList(String statementId, Object... objects) throws Exception;

    <T> T selectOne(String statementId, Object... objects) throws Exception;

    int executeUpdate(String statementId, Object... objects) throws Exception;

    <T> T getMapper(Class<?> mapperClass) throws Exception;
}
